package com.leyou.sh.trade.repository;

import com.leyou.sh.trade.entity.CartsItem;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author balisong_fcs
 * @date 2021/1/16 18:10
 * @desc
 */
public interface CartsRepository extends MongoRepository<CartsItem, String> {

    List<CartsItem> findByUserId(Long userId);
}
